package com.collect.zambia.zhiScene.zhiTelemarketing.zhiFollow;

import android.content.Context;

import com.collect.zambia.zhiBase.BaseContract;
import com.collect.zambia.zhiBean.zhiReceive.ZHIRTelemarketingFollowEntity;
import com.collect.zambia.zhiBean.zhiSend.ZHISTelemarketingFollowListEntity;
import com.collect.zambia.zhiBean.zhiSend.ZHISTelemarketingMarkedEntity;

import java.util.ArrayList;

public class ZHITelemarketingFollowContract {
    interface View extends BaseContract.View {
        /**
         * 错误信息返回
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-14 17:54
         */
        void onGetErrorInfo();

        /**
         * 获取案件列表返回
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void onGetTelemarketingList(ArrayList<ZHIRTelemarketingFollowEntity> zhirTelemarketingFollowEntityArrayList);

        /**
         * 客服-添加标记返回
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void onMarkTelemarketing();

        /**
         * 客服-添加标记-whatsapp 返回
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void onMarkTelemarketingWhatsapp(final String mobile, final String whatsappContent);

    }

    interface Presenter extends BaseContract.Presenter<View> {
        /**
         * 获取案件列表
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void getTelemarketingList(Context context, ZHISTelemarketingFollowListEntity zhisTelemarketingFollowListEntity, boolean showLoading);

        /**
         * 客服-添加标记
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void markTelemarketing(Context context, ZHISTelemarketingMarkedEntity zhisTelemarketingMarkedEntity, boolean showLoading);

        /**
         * 客服-添加标记-whatsapp
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void markTelemarketingWhatsapp(Context context, ZHISTelemarketingMarkedEntity zhisTelemarketingMarkedEntity, final String mobile, final String whatsappContent);
    }
}
